<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        html, body{
            height: 100%;
            width:100%;
        }
        html {
            overflow: hidden;
        }
        body{
            overflow: auto;
        }
        #container{
            min-height: 1000px;
            position: relative;
        }
        img{
            position: absolute;
            display: inline-block;
            width: 220px;
            border: 1px solid red;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
    <div id="container"></div>
    <script src="index.js"></script>
</body>
</html>